package com.example.interesting.desensitization.test;

import com.example.interesting.desensitization.realize.Desensitization;
import com.example.interesting.desensitization.realize.DesensitizationEnum;
import lombok.Data;

/**
 * @author fyw
 * @version 1.0
 * @description: 脱敏测试类
 * @date 2024/3/10 9:37
 */
@Data
public class DesensitizationDTO {


    @Desensitization(type = DesensitizationEnum.MOBILE_PHONE)
    private String mobilePhone = "13101010101";


    @Desensitization(type = DesensitizationEnum.ADDRESS)
    private String address = "中国台湾省某某某";


    @Desensitization(type = DesensitizationEnum.CUSTOM,leftRetentionLength = 2,rightRetentionLength = 1)
    private String coustom = "我想怎么脱敏都行啊";

}
